package com.nzd.slsharing.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.nzd.slsharing.mapper.CommentMapper;
import com.nzd.slsharing.mapper.LifeSharingMapper;
import com.nzd.slsharing.pojo.Comment;
import com.nzd.slsharing.pojo.LifeSharing;
import com.nzd.slsharing.service.CommentService;
import com.nzd.slsharing.service.LifeSharingService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.StringUtils;

@Service
@Transactional
public class CommentServiceImpl extends ServiceImpl<CommentMapper, Comment> implements CommentService {


    /**
     * 分页获取所有评论（带条件）
     *
     * @param pageParam
     * @param name
     */
    @Override
    public IPage<Comment> getUsersLifeSharingS(Page<Comment> pageParam, String name) {
        return null;
    }

    /**
     * 分页获取所有评论（不带条件）
     *
     * @param pageParam
     */
    @Override
    public IPage<Comment> getUsersLifeSharingS(Page<Comment> pageParam) {
        return null;
    }
}
